package com.keensense.vcm.model;

import com.keensense.vcm.model.enums.CredentialTypeEnum;
import com.keensense.vcm.model.enums.GenderEnum;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * @author lanjian
 * @date 2020/5/21 2:09 下午
 */
public class People {

    public People() {
    }

    /**
     * 图片列表(最多5个,最少1个)
     */
    @XmlElement
    private List<Picture> pictures;

    /**
     * 用户标签tag 长度[1,255]
     */
    @XmlElement
    private String tag;

    /**
     * 职业 中文、英文、数字和-空格，长度[1,255]
     */
    @XmlElement
    private String occupation;

    /**
     * 民族 中文、英文、数字和空格，长度[1,255]
     */
    @XmlElement
    private String nationality;

    /**
     * 姓名 中文、英文、数字和.·-空格，首位不为特殊字符，长度[1,255]
     */
    @XmlElement
    private String name;

    /**
     * 性别 0：男 1：女 -1:未知
     */
    @XmlElement
    private GenderEnum gender;

    /**
     * 描述信息，长度[1,255]
     */
    @XmlElement
    private String description;

    /**
     * 证件类型，枚举类型 0：身份证 1：护照 2：学生证 3：军官证 4：驾照 5：其他
     */
    @XmlElement
    private CredentialTypeEnum credentialType;

    /**
     * 当前居住地 长度[1,255] 在打标签业务中是填写areacode
     */
    @XmlElement
    private String presentPlace;

    /**
     * 户籍所在地 长度[1,255]
     */
    @XmlElement
    private String domicile;

    /**
     * 证件号码 英文、数字、()，长度[1,255]
     */
    @XmlElement
    private String credentialNumber;

    /**
     * 国籍 中文、英文、数字和.空格，长度[1,255]
     */
    @XmlElement
    private String country;

    /**
     * 人员名单id 范围：0-9A-Fa-f，长度24 人员唯一标识，如果不存在则由系统自动生成。
     */
    @XmlElement
    private String id;

    /**
     * 出生日期，2015-09-25
     */
    @XmlElement
    private String bornTime;

    @XmlTransient
    public List<Picture> getPictures() {
        return pictures;
    }

    public void setPictures(List<Picture> pictures) {
        this.pictures = pictures;
    }

    @XmlTransient
    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    @XmlTransient
    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    @XmlTransient
    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    @XmlTransient
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @XmlTransient
    public GenderEnum getGender() {
        return gender;
    }

    public void setGender(GenderEnum gender) {
        this.gender = gender;
    }

    @XmlTransient
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @XmlTransient
    public CredentialTypeEnum getCredentialType() {
        return credentialType;
    }

    public void setCredentialType(CredentialTypeEnum credentialType) {
        this.credentialType = credentialType;
    }

    @XmlTransient
    public String getPresentPlace() {
        return presentPlace;
    }

    public void setPresentPlace(String presentPlace) {
        this.presentPlace = presentPlace;
    }

    @XmlTransient
    public String getDomicile() {
        return domicile;
    }

    public void setDomicile(String domicile) {
        this.domicile = domicile;
    }

    @XmlTransient
    public String getCredentialNumber() {
        return credentialNumber;
    }

    public void setCredentialNumber(String credentialNumber) {
        this.credentialNumber = credentialNumber;
    }

    @XmlTransient
    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    @XmlTransient
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @XmlTransient
    public String getBornTime() {
        return bornTime;
    }

    public void setBornTime(String bornTime) {
        this.bornTime = bornTime;
    }
}
